﻿using Common.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common
{
    /// <summary>
    /// 添加服务
    /// </summary>
    public class AddService
    {
        public List<ServiceModel> serviceList { get; } = new List<ServiceModel>();

        public ServiceModel FolderListenerModel { get; } = new ServiceModel();
        public ServiceModel FileListenerModel { get; } = new ServiceModel();
        public AddService()
        {
            FolderListenerModel.ServiceName = "FolderListener";
            FolderListenerModel.Description = "创建文件夹时，自动以时间命名";
            serviceList.Add(FolderListenerModel);

            FileListenerModel.ServiceName = "FileListener";
            FileListenerModel.Description = "监听VS项目生成的所有文件，自动复制到上级目录";
            serviceList.Add(FileListenerModel);
        }
    }
}
